EFI: retrieve and expose Apple device properties
authorJan Beulich <jbeulich@suse.com>
Tue, 14 Mar 2017 17:21:09 +0000 (18:21 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 14 Mar 2017 17:21:09 +0000 (18:21 +0100)
commitf812de1b8b3622b2788617b43830686404125d40
treec619c9bac706f06ef4cd3056850402afae3bec1c
parentff0bced09f91d0698c8a9b2b3c3c0b885cdff7e0
EFI: retrieve and expose Apple device properties

Apple's EFI drivers supply device properties which are needed to
support Macs optimally. They contain vital information which cannot be
obtained any other way (e.g. Thunderbolt Device ROM). They're also used
to convey the current device state so that OS drivers can pick up where
EFI drivers left (e.g. GPU mode setting).

Reference: Linux commit 58c5475aba67706b31d9237808d5d3d54074e5ea (see
there for the full original commit message, only the initial part of
which is being reproduced above)

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/efi/boot.c
xen/common/efi/efi.h
xen/common/efi/runtime.c
xen/include/public/platform.h